for i in range(1,10):
    if i == 3:
        # 跳过某一次循环 但是不会结束循环
        continue
    print(i)

    for i in range(1,10):
        if i == 3:
            # 遇到以后就直接结束所以的循环
            break
        print(i)